from django.conf.urls import url
from . import views
urlpatterns = [
    # 注册
    url(r"^users$",views.RegisterView.as_view()),
    # 登陆
    url(r"^session$",views.LoginView.as_view()),
    # 用户中心
    url(r"^user$",views.UserInfo.as_view()),
    # 头像上传
    url(r"^user/avatar$",views.PhotoView.as_view()),
    # 修改用户名
    url(r"^user/name",views.ModifyNameView.as_view()),
    # 用户名实名认证
    url(r"^user/auth",views.UserAuth.as_view()),



]